home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / dos / math / ode25 / stag.ode < prev    next >
Text File  |  1994-03-03  |  256b  |  15 lines

  1. # STAG.ODE
  2. # Stagnation point flow in fluid dynamics.
  3. # Try to find initial g2 such that g1 tends to 1 as t gets large.
  4.  
  5. $m -5
  6. $t 20
  7. $n 200
  8.  
  9. g   = 0
  10. g1  = 0
  11. g2  = 1.23225    # This is quite close !
  12. g'  = g1
  13. g1' = g2
  14. g2' = sqr(g1) - g*g2 - 1
  15.